package com.kwshare.common.core.constant;

/**
 * JWT相关通用常量信息
 *
 * @author yangjing
 */
public class JwtConstants {

    /** 令牌过期时间 */
    public final static long TIME = 1000*60*60*12;

    /** 令牌签名,不可泄露 */
    public final static String SIGNATURE = "ADMIN";

    /** 令牌类型 */
    public final static String TYP = "typ";

    /** JWT令牌类型 */
    public final static String JWT = "JWT";

    /** 算法类型 */
    public final static String ALG = "alg";

    /** HS256算法 */
    public final static String HS256 = "HS256";

}
